projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2b57ed
)
; * lisp/treesit.el (treesit-node-at): Fix typo.
author
Yuan Fu
<casouri@gmail.com>
Sat, 14 May 2022 15:57:23 +0000
(08:57 -0700)
committer
Yuan Fu
<casouri@gmail.com>
Sat, 14 May 2022 15:57:23 +0000
(08:57 -0700)
lisp/treesit.el
patch
|
blob
|
history
diff --git
a/lisp/treesit.el
b/lisp/treesit.el
index 1cfdab95ca8b49255239f452653a0c171f8170d7..3313168d667e53bdf007518594f8fb92b4cefe14 100644
(file)
--- a/
lisp/treesit.el
+++ b/
lisp/treesit.el
@@
-142,7
+142,7
@@
that language in the current buffer, and use that."
(let ((node (if (treesit-parser-p parser-or-lang)
(treesit-parser-root-node parser-or-lang)
(treesit-buffer-root-node parser-or-lang))))
- ;; TODO: We might want a `treesit-node-decendant-for-pos' in C.
+ ;; TODO: We might want a `treesit-node-de
s
cendant-for-pos' in C.
(while (cond ((and node (< (treesit-node-end node) point))
(setq node (treesit-node-next-sibling node))
t)